/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.io.Serializable;

/**
 *
 * @author Thai Ha Cong
 */

public class Receiptitem implements Serializable {
    private int receiptQuantity;
    private double receiptPrice;
    private Receipt receipt;
    private Product product;

    public Receiptitem(int receiptQuantity, double receiptPrice, Product product)
    {
        this.receiptQuantity = receiptQuantity;
        this.receiptPrice = receiptPrice;
        this.product = product;
    }
    public Receiptitem() {
    }

    public int getReceiptQuantity() {
        return receiptQuantity;
    }

    public void setReceiptQuantity(int receiptQuantity) {
        this.receiptQuantity = receiptQuantity;
    }

    public double getReceiptPrice() {
        return receiptPrice;
    }

    public void setReceiptPrice(double receiptPrice) {
        this.receiptPrice = receiptPrice;
    }

    public Receipt getReceipt() {
        return receipt;
    }

    public void setReceipt(Receipt receipt) {
        this.receipt = receipt;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }
}
